package com.stm.bi.repository.dataobject.ods;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.stm.framework.annotation.ResParam;

@TableName("ods_product_category")
public class OdsProductCategoryDO {

    @TableField(value = "id")
    private Long id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "code")
    private String code;

    @TableField(value = "org_no")
    private String orgNo;

    @TableField(value = "org_id")
    private String orgId;

    @TableField(value = "deleted", fill = FieldFill.INSERT)
    private Integer deleted;

    public Long getId() {
        return id;
    }

    public OdsProductCategoryDO setId(Long id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public OdsProductCategoryDO setName(String name) {
        this.name = name;
        return this;
    }

    public String getCode() {
        return code;
    }

    public OdsProductCategoryDO setCode(String code) {
        this.code = code;
        return this;
    }

    public String getOrgNo() {
        return orgNo;
    }

    public OdsProductCategoryDO setOrgNo(String orgNo) {
        this.orgNo = orgNo;
        return this;
    }

    public String getOrgId() {
        return orgId;
    }

    public OdsProductCategoryDO setOrgId(String orgId) {
        this.orgId = orgId;
        return this;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public OdsProductCategoryDO setDeleted(Integer deleted) {
        this.deleted = deleted;
        return this;
    }
}
